//
// Decompiled by Jadx - 461ms
//
package me.plusne.common.Json;

import java.io.Serializable;
import java.util.List;

public class JsonDataParserField implements Serializable {
    private AnnotationMatcher annotationMatcher;
    private Matcher matcher;
    private String searchInClass;

    public boolean canEqual(Object obj) {
        return obj instanceof JsonDataParserField;
    }

    public boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof JsonDataParserField)) {
            return false;
        }
        JsonDataParserField jsonDataParserField = (JsonDataParserField) obj;
        if (!jsonDataParserField.canEqual(this)) {
            return false;
        }
        String searchInClass = getSearchInClass();
        String searchInClass2 = jsonDataParserField.getSearchInClass();
        if (searchInClass != null ? !searchInClass.equals(searchInClass2) : searchInClass2 != null) {
            return false;
        }
        Matcher matcher = getMatcher();
        Matcher matcher2 = jsonDataParserField.getMatcher();
        if (matcher != null ? !matcher.equals(matcher2) : matcher2 != null) {
            return false;
        }
        AnnotationMatcher annotationMatcher = getAnnotationMatcher();
        AnnotationMatcher annotationMatcher2 = jsonDataParserField.getAnnotationMatcher();
        return annotationMatcher != null ? annotationMatcher.equals(annotationMatcher2) : annotationMatcher2 == null;
    }

    public AnnotationMatcher getAnnotationMatcher() {
        return this.annotationMatcher;
    }

    public Matcher getMatcher() {
        return this.matcher;
    }

    public String getSearchInClass() {
        return this.searchInClass;
    }

    public int hashCode() {
        String searchInClass = getSearchInClass();
        int hashCode = searchInClass == null ? 43 : searchInClass.hashCode();
        Matcher matcher = getMatcher();
        int hashCode2 = ((hashCode + 59) * 59) + (matcher == null ? 43 : matcher.hashCode());
        AnnotationMatcher annotationMatcher = getAnnotationMatcher();
        return (hashCode2 * 59) + (annotationMatcher != null ? annotationMatcher.hashCode() : 43);
    }

    public void setAnnotationMatcher(AnnotationMatcher annotationMatcher) {
        this.annotationMatcher = annotationMatcher;
    }

    public void setMatcher(Matcher matcher) {
        this.matcher = matcher;
    }

    public void setSearchInClass(String str) {
        this.searchInClass = str;
    }

    public String toString() {
        return "JsonDataParserField(searchInClass=" + getSearchInClass() + ", matcher=" + getMatcher() + ", annotationMatcher=" + getAnnotationMatcher() + ")";
    }


    public static class AnnotationMatcher implements Serializable {
        private List<String> usingStrings;

        public boolean canEqual(Object obj) {
            return obj instanceof AnnotationMatcher;
        }

        public boolean equals(Object obj) {
            if (obj == this) {
                return true;
            }
            if (!(obj instanceof AnnotationMatcher)) {
                return false;
            }
            AnnotationMatcher AnnotationMatcher = (AnnotationMatcher) obj;
            if (!AnnotationMatcher.canEqual(this)) {
                return false;
            }
            List<String> usingStrings = getUsingStrings();
            List<String> usingStrings2 = AnnotationMatcher.getUsingStrings();
            return usingStrings != null ? usingStrings.equals(usingStrings2) : usingStrings2 == null;
        }

        public List<String> getUsingStrings() {
            return this.usingStrings;
        }

        public int hashCode() {
            List<String> usingStrings = getUsingStrings();
            return 59 + (usingStrings == null ? 43 : usingStrings.hashCode());
        }

        public void setUsingStrings(List<String> list) {
            this.usingStrings = list;
        }

        public String toString() {
            return "JsonDataParserField.AnnotationMatcher(usingStrings=" + getUsingStrings() + ")";
        }
    }

    public static class Matcher implements Serializable {
        private int modifiers = -1;
        private String type;

        public boolean canEqual(Object obj) {
            return obj instanceof Matcher;
        }

        public boolean equals(Object obj) {
            if (obj == this) {
                return true;
            }
            if (!(obj instanceof Matcher)) {
                return false;
            }
            Matcher Matcher = (Matcher) obj;
            if (!Matcher.canEqual(this) || getModifiers() != Matcher.getModifiers()) {
                return false;
            }
            String type = getType();
            String type2 = Matcher.getType();
            return type != null ? type.equals(type2) : type2 == null;
        }

        public int getModifiers() {
            return this.modifiers;
        }

        public String getType() {
            return this.type;
        }

        public int hashCode() {
            int modifiers = getModifiers() + 59;
            String type = getType();
            return (modifiers * 59) + (type == null ? 43 : type.hashCode());
        }

        public void setModifiers(int i) {
            this.modifiers = i;
        }

        public void setType(String str) {
            this.type = str;
        }

        public String toString() {
            return "JsonDataParserField.Matcher(type=" + getType() + ", modifiers=" + getModifiers() + ")";
        }
    }

}
